Type error: can only concatenate str (not tuple ) to str when looping through dictionary